package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/7 0007.
 */

public class AlipayRealnameParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "zfbUserInfoShare";

    /**
     * 绑定的手机号码
     */
    private String code;

    public AlipayRealnameParams() {

    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(code);
    }

    protected AlipayRealnameParams(Parcel in) {
        super(in);
        code = in.readString();
    }

    public static final Creator<AlipayRealnameParams> CREATOR = new Creator<AlipayRealnameParams>() {
        @Override
        public AlipayRealnameParams createFromParcel(Parcel source) {
            return new AlipayRealnameParams(source);
        }

        @Override
        public AlipayRealnameParams[] newArray(int size) {
            return new AlipayRealnameParams[size];
        }
    };
}
